package com.ruoyi.student.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 student
 *
 * @author ruoyi
 * @date 2023-11-11
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("student")
@ApiModel(value = "Student", description = "学生实体")
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** # */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("#")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String name;

    /** 年纪 */
    @Excel(name = "年纪")
    @ApiModelProperty("年纪")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    @ApiModelProperty("性别")
    private Long sex;

}
